<template>
	<uni-fab horizontal="right" @fabClick="fabClick" @trigger="trigger" :pattern="pattern" :content="content"></uni-fab>
</template>

<script>
	export default {
		name:"Fab",
		props: {
			content: {
				type: Array,
				default () {
					return []
				}
			},
		},
		data() {
			return {
				pattern: {
					buttonColor: 'linear-gradient(0deg, #F5AC3C 0%, #AACD22 100%)',
				}
			};
		},
		
		methods: {
			fabClick() {
				this.$emit('fabClick');
			},
			
			trigger(e) {
				this.$emit('trigger', e);
			}
		}
	}
</script>

<style>

</style>
